package com.attms.domain.AbsentStrategy;

import com.attms.domain.Absent;
import com.attms.domain.Employee;

public class AbS8 implements AbS{
    public void apply(Employee employee, int days, Absent absence) {
        int beforeAbs = employee.getE_ABSHOUR();
        employee.setE_ABSHOUR(beforeAbs + days * 8);
    }
}
